/*
 * Predicate.java
 *
 * Created on February 4, 2007, 8:35 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.smallx.xpath.streaming;

import com.smallx.xpath.DynamicContext;
import org.infoset.xml.Item;

/**
 *
 * @author alex
 */
public interface Predicate {
   
   boolean test(Item item,DynamicContext context);
   
}
